package ch.zbw.swt.sysventory.zzzzRIP;

import java.awt.Dimension;

import javax.swing.JLabel;

public class GUIDetailLabel {

	private static JLabel label;

	public GUIDetailLabel() {
		label = new JLabel();
		label.setHorizontalAlignment(JLabel.CENTER);
		label.setPreferredSize(new Dimension(350, 25));
	}

	public static void setTextGUIDetailLabel(String infoText) {
		label.setText("Letzte Scandaten: " + infoText);
	}

	public JLabel getGUIDetailLabel() {
		return label;
	}

	public static void clearTextGUIDetailLabel() {
		label.setText("");
	}

}
